package com.transfer.service;

import java.util.List;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.domain.Specification;

import com.transfer.entity.TitleAppoint;
import com.transfer.entity.dto.TitleAppointQueryDTO;


public interface ITitleAppointService {
	public void saveOrUpdate(TitleAppoint titleAppoint);
	public void saveOrUpdate(TitleAppointQueryDTO titleAppointQueryDTO);
	
	public void delete(TitleAppoint titleAppoint);
	public TitleAppoint findOne(Long id);
	public List<TitleAppoint> findAll();
	public void delete(List<Long>ids);
	//动态条件查询
	public Page<TitleAppointQueryDTO> findAll(Specification<TitleAppoint> spec, Pageable pageable);
}
